#conding:utf-8

import requests

url = 'https://clientlog.music.163.com/api/clientlog/upload?oc=f248a7ba071b3c2f588a541a0657d1e4962657a2c8ba6ddd5287e455dd76894c7de96a6fd3b75caa9df305f52f926e039fda39adfe45b28ce21c0e9b4709e46c0a40fd3723b9b8a3bf122d59fa1ed6a2'

data = {
    'Cookie': 'osver=8.0.0',
    'deviceId':'OTkwMDA5ODMyNTcyMDgJMDI6MDA6MDA6MDA6MDA6MDAJNTcyOTQ2YWQ1N2E1NTAyOQk0OTYzMmRhNA%3D%3D',
    'appver':'6.2.1',
    'MUSIC_U':'f248a7ba071b3c2f588a541a0657d1e4962657a2c8ba6ddd5287e455dd76894c7de96a6fd3b75caa9df305f52f926e039fda39adfe45b28ce21c0e9b4709e46c0a40fd3723b9b8a3bf122d59fa1ed6a2',
    'versioncode':'143',
    'mobilename':'MI5sPlus',
    'buildver':'1559118387',
    'resolution':'1920x1080',
    '__remember_me':'true',
    '__csrf':'609149f65d115334697b2da689bebf5d',
    'os':'android',
    'channel':'xiaomi'
 }
content = requests.post(url=url, data=data)
# content.encoding='utf-8'
print(content.status_code)
print(content.text)
print(content.content)